package com.rdzn.mall.center.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.rdzn.mall.center.entity.PmsProduct;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @Description: pms_product
 * @Author: jeecg-boot
 * @Date:   2020-08-27
 * @Version: V1.0
 */
public interface IPmsProductService extends IService<PmsProduct> {

    /**
     *
     * @return
     */
    List<PmsProduct> getByIds(List<Integer> ids);

    List<PmsProduct> listByCategoryId(Integer categoryId);

    IPage<PmsProduct> pageList(Page<PmsProduct> page, QueryWrapper<PmsProduct> queryWrapper);

}
